package itdep.ui.pages.common;

import itdep.domain.profile.Nationality;
import itdep.services.profile.NationalityService;
import itdep.ui.base.pages.CodedEntityPage;
import org.apache.tapestry5.ioc.annotations.Inject;

/**
 * @author Ivan Khalopik
 * @version $Revision: 56 $ $Date: 2010-07-07 10:56:24 +0000 (Wed, 07 Jul 2010) $
 */
public class Nationalities extends CodedEntityPage<Nationality> {

	@Inject
	private NationalityService nationalityService;

	@Override
	protected NationalityService getEntityService() {
		return nationalityService;
	}

	@Override
	public String getTitle() {
		return getMessages().get("nationalities-title");
	}
}
